Playit

Property:
font:
normal 30px Arial
bold 30px Arial
bolder 30px Arial
lighter 30px Arial
100 30px Arial
200 30px Arial
300 30px Arial
400 30px Arial
500 30px Arial
600 30px Arial
700 30px Arial
800 30px Arial
900 30px Arial
Canvas:
Code:
var c=document.getElementById('myCanvas');
var ctx=c.getContext('2d');
ctx.font='normal 30px Arial';
ctx.fillText('Hello World', 10,30);
Click the property values above to see the result
W3Schools.com - Play it